package com.example.docmanagement.dto.response;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 权限响应 DTO
 */
@Data
@Builder
@Schema(description = "权限响应数据")
public class PermissionResponse {

    @Schema(description = "权限ID")
    private Long id;

    @Schema(description = "权限标识")
    private String name;

    @Schema(description = "权限显示名称")
    private String displayName;

    @Schema(description = "描述")
    private String description;

    @Schema(description = "资源模块")
    private String resource;

    @Schema(description = "操作动作")
    private String action;

    @Schema(description = "分类")
    private String category;

    @Schema(description = "排序值")
    private Integer sortOrder;

    @Schema(description = "创建时间")
    private LocalDateTime createdAt;
}


